package com.ck.ckcloud.networkmanagement.infrastructure.persistence.DO;

import java.util.ArrayList;
import java.util.List;

public class ResourceDOExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ResourceDOExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andResourcetypeIsNull() {
            addCriterion("resourceType is null");
            return (Criteria) this;
        }

        public Criteria andResourcetypeIsNotNull() {
            addCriterion("resourceType is not null");
            return (Criteria) this;
        }

        public Criteria andResourcetypeEqualTo(Integer value) {
            addCriterion("resourceType =", value, "resourcetype");
            return (Criteria) this;
        }

        public Criteria andResourcetypeNotEqualTo(Integer value) {
            addCriterion("resourceType <>", value, "resourcetype");
            return (Criteria) this;
        }

        public Criteria andResourcetypeGreaterThan(Integer value) {
            addCriterion("resourceType >", value, "resourcetype");
            return (Criteria) this;
        }

        public Criteria andResourcetypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("resourceType >=", value, "resourcetype");
            return (Criteria) this;
        }

        public Criteria andResourcetypeLessThan(Integer value) {
            addCriterion("resourceType <", value, "resourcetype");
            return (Criteria) this;
        }

        public Criteria andResourcetypeLessThanOrEqualTo(Integer value) {
            addCriterion("resourceType <=", value, "resourcetype");
            return (Criteria) this;
        }

        public Criteria andResourcetypeIn(List<Integer> values) {
            addCriterion("resourceType in", values, "resourcetype");
            return (Criteria) this;
        }

        public Criteria andResourcetypeNotIn(List<Integer> values) {
            addCriterion("resourceType not in", values, "resourcetype");
            return (Criteria) this;
        }

        public Criteria andResourcetypeBetween(Integer value1, Integer value2) {
            addCriterion("resourceType between", value1, value2, "resourcetype");
            return (Criteria) this;
        }

        public Criteria andResourcetypeNotBetween(Integer value1, Integer value2) {
            addCriterion("resourceType not between", value1, value2, "resourcetype");
            return (Criteria) this;
        }

        public Criteria andResourcenameIsNull() {
            addCriterion("resourceName is null");
            return (Criteria) this;
        }

        public Criteria andResourcenameIsNotNull() {
            addCriterion("resourceName is not null");
            return (Criteria) this;
        }

        public Criteria andResourcenameEqualTo(String value) {
            addCriterion("resourceName =", value, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameNotEqualTo(String value) {
            addCriterion("resourceName <>", value, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameGreaterThan(String value) {
            addCriterion("resourceName >", value, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameGreaterThanOrEqualTo(String value) {
            addCriterion("resourceName >=", value, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameLessThan(String value) {
            addCriterion("resourceName <", value, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameLessThanOrEqualTo(String value) {
            addCriterion("resourceName <=", value, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameLike(String value) {
            addCriterion("resourceName like", value, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameNotLike(String value) {
            addCriterion("resourceName not like", value, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameIn(List<String> values) {
            addCriterion("resourceName in", values, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameNotIn(List<String> values) {
            addCriterion("resourceName not in", values, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameBetween(String value1, String value2) {
            addCriterion("resourceName between", value1, value2, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameNotBetween(String value1, String value2) {
            addCriterion("resourceName not between", value1, value2, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcemodelIsNull() {
            addCriterion("resourceModel is null");
            return (Criteria) this;
        }

        public Criteria andResourcemodelIsNotNull() {
            addCriterion("resourceModel is not null");
            return (Criteria) this;
        }

        public Criteria andResourcemodelEqualTo(String value) {
            addCriterion("resourceModel =", value, "resourcemodel");
            return (Criteria) this;
        }

        public Criteria andResourcemodelNotEqualTo(String value) {
            addCriterion("resourceModel <>", value, "resourcemodel");
            return (Criteria) this;
        }

        public Criteria andResourcemodelGreaterThan(String value) {
            addCriterion("resourceModel >", value, "resourcemodel");
            return (Criteria) this;
        }

        public Criteria andResourcemodelGreaterThanOrEqualTo(String value) {
            addCriterion("resourceModel >=", value, "resourcemodel");
            return (Criteria) this;
        }

        public Criteria andResourcemodelLessThan(String value) {
            addCriterion("resourceModel <", value, "resourcemodel");
            return (Criteria) this;
        }

        public Criteria andResourcemodelLessThanOrEqualTo(String value) {
            addCriterion("resourceModel <=", value, "resourcemodel");
            return (Criteria) this;
        }

        public Criteria andResourcemodelLike(String value) {
            addCriterion("resourceModel like", value, "resourcemodel");
            return (Criteria) this;
        }

        public Criteria andResourcemodelNotLike(String value) {
            addCriterion("resourceModel not like", value, "resourcemodel");
            return (Criteria) this;
        }

        public Criteria andResourcemodelIn(List<String> values) {
            addCriterion("resourceModel in", values, "resourcemodel");
            return (Criteria) this;
        }

        public Criteria andResourcemodelNotIn(List<String> values) {
            addCriterion("resourceModel not in", values, "resourcemodel");
            return (Criteria) this;
        }

        public Criteria andResourcemodelBetween(String value1, String value2) {
            addCriterion("resourceModel between", value1, value2, "resourcemodel");
            return (Criteria) this;
        }

        public Criteria andResourcemodelNotBetween(String value1, String value2) {
            addCriterion("resourceModel not between", value1, value2, "resourcemodel");
            return (Criteria) this;
        }

        public Criteria andResourceuniqueidIsNull() {
            addCriterion("resourceUniqueId is null");
            return (Criteria) this;
        }

        public Criteria andResourceuniqueidIsNotNull() {
            addCriterion("resourceUniqueId is not null");
            return (Criteria) this;
        }

        public Criteria andResourceuniqueidEqualTo(String value) {
            addCriterion("resourceUniqueId =", value, "resourceuniqueid");
            return (Criteria) this;
        }

        public Criteria andResourceuniqueidNotEqualTo(String value) {
            addCriterion("resourceUniqueId <>", value, "resourceuniqueid");
            return (Criteria) this;
        }

        public Criteria andResourceuniqueidGreaterThan(String value) {
            addCriterion("resourceUniqueId >", value, "resourceuniqueid");
            return (Criteria) this;
        }

        public Criteria andResourceuniqueidGreaterThanOrEqualTo(String value) {
            addCriterion("resourceUniqueId >=", value, "resourceuniqueid");
            return (Criteria) this;
        }

        public Criteria andResourceuniqueidLessThan(String value) {
            addCriterion("resourceUniqueId <", value, "resourceuniqueid");
            return (Criteria) this;
        }

        public Criteria andResourceuniqueidLessThanOrEqualTo(String value) {
            addCriterion("resourceUniqueId <=", value, "resourceuniqueid");
            return (Criteria) this;
        }

        public Criteria andResourceuniqueidLike(String value) {
            addCriterion("resourceUniqueId like", value, "resourceuniqueid");
            return (Criteria) this;
        }

        public Criteria andResourceuniqueidNotLike(String value) {
            addCriterion("resourceUniqueId not like", value, "resourceuniqueid");
            return (Criteria) this;
        }

        public Criteria andResourceuniqueidIn(List<String> values) {
            addCriterion("resourceUniqueId in", values, "resourceuniqueid");
            return (Criteria) this;
        }

        public Criteria andResourceuniqueidNotIn(List<String> values) {
            addCriterion("resourceUniqueId not in", values, "resourceuniqueid");
            return (Criteria) this;
        }

        public Criteria andResourceuniqueidBetween(String value1, String value2) {
            addCriterion("resourceUniqueId between", value1, value2, "resourceuniqueid");
            return (Criteria) this;
        }

        public Criteria andResourceuniqueidNotBetween(String value1, String value2) {
            addCriterion("resourceUniqueId not between", value1, value2, "resourceuniqueid");
            return (Criteria) this;
        }

        public Criteria andOsIsNull() {
            addCriterion("os is null");
            return (Criteria) this;
        }

        public Criteria andOsIsNotNull() {
            addCriterion("os is not null");
            return (Criteria) this;
        }

        public Criteria andOsEqualTo(String value) {
            addCriterion("os =", value, "os");
            return (Criteria) this;
        }

        public Criteria andOsNotEqualTo(String value) {
            addCriterion("os <>", value, "os");
            return (Criteria) this;
        }

        public Criteria andOsGreaterThan(String value) {
            addCriterion("os >", value, "os");
            return (Criteria) this;
        }

        public Criteria andOsGreaterThanOrEqualTo(String value) {
            addCriterion("os >=", value, "os");
            return (Criteria) this;
        }

        public Criteria andOsLessThan(String value) {
            addCriterion("os <", value, "os");
            return (Criteria) this;
        }

        public Criteria andOsLessThanOrEqualTo(String value) {
            addCriterion("os <=", value, "os");
            return (Criteria) this;
        }

        public Criteria andOsLike(String value) {
            addCriterion("os like", value, "os");
            return (Criteria) this;
        }

        public Criteria andOsNotLike(String value) {
            addCriterion("os not like", value, "os");
            return (Criteria) this;
        }

        public Criteria andOsIn(List<String> values) {
            addCriterion("os in", values, "os");
            return (Criteria) this;
        }

        public Criteria andOsNotIn(List<String> values) {
            addCriterion("os not in", values, "os");
            return (Criteria) this;
        }

        public Criteria andOsBetween(String value1, String value2) {
            addCriterion("os between", value1, value2, "os");
            return (Criteria) this;
        }

        public Criteria andOsNotBetween(String value1, String value2) {
            addCriterion("os not between", value1, value2, "os");
            return (Criteria) this;
        }

        public Criteria andIpIsNull() {
            addCriterion("ip is null");
            return (Criteria) this;
        }

        public Criteria andIpIsNotNull() {
            addCriterion("ip is not null");
            return (Criteria) this;
        }

        public Criteria andIpEqualTo(String value) {
            addCriterion("ip =", value, "ip");
            return (Criteria) this;
        }

        public Criteria andIpNotEqualTo(String value) {
            addCriterion("ip <>", value, "ip");
            return (Criteria) this;
        }

        public Criteria andIpGreaterThan(String value) {
            addCriterion("ip >", value, "ip");
            return (Criteria) this;
        }

        public Criteria andIpGreaterThanOrEqualTo(String value) {
            addCriterion("ip >=", value, "ip");
            return (Criteria) this;
        }

        public Criteria andIpLessThan(String value) {
            addCriterion("ip <", value, "ip");
            return (Criteria) this;
        }

        public Criteria andIpLessThanOrEqualTo(String value) {
            addCriterion("ip <=", value, "ip");
            return (Criteria) this;
        }

        public Criteria andIpLike(String value) {
            addCriterion("ip like", value, "ip");
            return (Criteria) this;
        }

        public Criteria andIpNotLike(String value) {
            addCriterion("ip not like", value, "ip");
            return (Criteria) this;
        }

        public Criteria andIpIn(List<String> values) {
            addCriterion("ip in", values, "ip");
            return (Criteria) this;
        }

        public Criteria andIpNotIn(List<String> values) {
            addCriterion("ip not in", values, "ip");
            return (Criteria) this;
        }

        public Criteria andIpBetween(String value1, String value2) {
            addCriterion("ip between", value1, value2, "ip");
            return (Criteria) this;
        }

        public Criteria andIpNotBetween(String value1, String value2) {
            addCriterion("ip not between", value1, value2, "ip");
            return (Criteria) this;
        }

        public Criteria andMaskIsNull() {
            addCriterion("mask is null");
            return (Criteria) this;
        }

        public Criteria andMaskIsNotNull() {
            addCriterion("mask is not null");
            return (Criteria) this;
        }

        public Criteria andMaskEqualTo(String value) {
            addCriterion("mask =", value, "mask");
            return (Criteria) this;
        }

        public Criteria andMaskNotEqualTo(String value) {
            addCriterion("mask <>", value, "mask");
            return (Criteria) this;
        }

        public Criteria andMaskGreaterThan(String value) {
            addCriterion("mask >", value, "mask");
            return (Criteria) this;
        }

        public Criteria andMaskGreaterThanOrEqualTo(String value) {
            addCriterion("mask >=", value, "mask");
            return (Criteria) this;
        }

        public Criteria andMaskLessThan(String value) {
            addCriterion("mask <", value, "mask");
            return (Criteria) this;
        }

        public Criteria andMaskLessThanOrEqualTo(String value) {
            addCriterion("mask <=", value, "mask");
            return (Criteria) this;
        }

        public Criteria andMaskLike(String value) {
            addCriterion("mask like", value, "mask");
            return (Criteria) this;
        }

        public Criteria andMaskNotLike(String value) {
            addCriterion("mask not like", value, "mask");
            return (Criteria) this;
        }

        public Criteria andMaskIn(List<String> values) {
            addCriterion("mask in", values, "mask");
            return (Criteria) this;
        }

        public Criteria andMaskNotIn(List<String> values) {
            addCriterion("mask not in", values, "mask");
            return (Criteria) this;
        }

        public Criteria andMaskBetween(String value1, String value2) {
            addCriterion("mask between", value1, value2, "mask");
            return (Criteria) this;
        }

        public Criteria andMaskNotBetween(String value1, String value2) {
            addCriterion("mask not between", value1, value2, "mask");
            return (Criteria) this;
        }

        public Criteria andCpuIsNull() {
            addCriterion("cpu is null");
            return (Criteria) this;
        }

        public Criteria andCpuIsNotNull() {
            addCriterion("cpu is not null");
            return (Criteria) this;
        }

        public Criteria andCpuEqualTo(String value) {
            addCriterion("cpu =", value, "cpu");
            return (Criteria) this;
        }

        public Criteria andCpuNotEqualTo(String value) {
            addCriterion("cpu <>", value, "cpu");
            return (Criteria) this;
        }

        public Criteria andCpuGreaterThan(String value) {
            addCriterion("cpu >", value, "cpu");
            return (Criteria) this;
        }

        public Criteria andCpuGreaterThanOrEqualTo(String value) {
            addCriterion("cpu >=", value, "cpu");
            return (Criteria) this;
        }

        public Criteria andCpuLessThan(String value) {
            addCriterion("cpu <", value, "cpu");
            return (Criteria) this;
        }

        public Criteria andCpuLessThanOrEqualTo(String value) {
            addCriterion("cpu <=", value, "cpu");
            return (Criteria) this;
        }

        public Criteria andCpuLike(String value) {
            addCriterion("cpu like", value, "cpu");
            return (Criteria) this;
        }

        public Criteria andCpuNotLike(String value) {
            addCriterion("cpu not like", value, "cpu");
            return (Criteria) this;
        }

        public Criteria andCpuIn(List<String> values) {
            addCriterion("cpu in", values, "cpu");
            return (Criteria) this;
        }

        public Criteria andCpuNotIn(List<String> values) {
            addCriterion("cpu not in", values, "cpu");
            return (Criteria) this;
        }

        public Criteria andCpuBetween(String value1, String value2) {
            addCriterion("cpu between", value1, value2, "cpu");
            return (Criteria) this;
        }

        public Criteria andCpuNotBetween(String value1, String value2) {
            addCriterion("cpu not between", value1, value2, "cpu");
            return (Criteria) this;
        }

        public Criteria andMemIsNull() {
            addCriterion("mem is null");
            return (Criteria) this;
        }

        public Criteria andMemIsNotNull() {
            addCriterion("mem is not null");
            return (Criteria) this;
        }

        public Criteria andMemEqualTo(String value) {
            addCriterion("mem =", value, "mem");
            return (Criteria) this;
        }

        public Criteria andMemNotEqualTo(String value) {
            addCriterion("mem <>", value, "mem");
            return (Criteria) this;
        }

        public Criteria andMemGreaterThan(String value) {
            addCriterion("mem >", value, "mem");
            return (Criteria) this;
        }

        public Criteria andMemGreaterThanOrEqualTo(String value) {
            addCriterion("mem >=", value, "mem");
            return (Criteria) this;
        }

        public Criteria andMemLessThan(String value) {
            addCriterion("mem <", value, "mem");
            return (Criteria) this;
        }

        public Criteria andMemLessThanOrEqualTo(String value) {
            addCriterion("mem <=", value, "mem");
            return (Criteria) this;
        }

        public Criteria andMemLike(String value) {
            addCriterion("mem like", value, "mem");
            return (Criteria) this;
        }

        public Criteria andMemNotLike(String value) {
            addCriterion("mem not like", value, "mem");
            return (Criteria) this;
        }

        public Criteria andMemIn(List<String> values) {
            addCriterion("mem in", values, "mem");
            return (Criteria) this;
        }

        public Criteria andMemNotIn(List<String> values) {
            addCriterion("mem not in", values, "mem");
            return (Criteria) this;
        }

        public Criteria andMemBetween(String value1, String value2) {
            addCriterion("mem between", value1, value2, "mem");
            return (Criteria) this;
        }

        public Criteria andMemNotBetween(String value1, String value2) {
            addCriterion("mem not between", value1, value2, "mem");
            return (Criteria) this;
        }

        public Criteria andMacIsNull() {
            addCriterion("mac is null");
            return (Criteria) this;
        }

        public Criteria andMacIsNotNull() {
            addCriterion("mac is not null");
            return (Criteria) this;
        }

        public Criteria andMacEqualTo(String value) {
            addCriterion("mac =", value, "mac");
            return (Criteria) this;
        }

        public Criteria andMacNotEqualTo(String value) {
            addCriterion("mac <>", value, "mac");
            return (Criteria) this;
        }

        public Criteria andMacGreaterThan(String value) {
            addCriterion("mac >", value, "mac");
            return (Criteria) this;
        }

        public Criteria andMacGreaterThanOrEqualTo(String value) {
            addCriterion("mac >=", value, "mac");
            return (Criteria) this;
        }

        public Criteria andMacLessThan(String value) {
            addCriterion("mac <", value, "mac");
            return (Criteria) this;
        }

        public Criteria andMacLessThanOrEqualTo(String value) {
            addCriterion("mac <=", value, "mac");
            return (Criteria) this;
        }

        public Criteria andMacLike(String value) {
            addCriterion("mac like", value, "mac");
            return (Criteria) this;
        }

        public Criteria andMacNotLike(String value) {
            addCriterion("mac not like", value, "mac");
            return (Criteria) this;
        }

        public Criteria andMacIn(List<String> values) {
            addCriterion("mac in", values, "mac");
            return (Criteria) this;
        }

        public Criteria andMacNotIn(List<String> values) {
            addCriterion("mac not in", values, "mac");
            return (Criteria) this;
        }

        public Criteria andMacBetween(String value1, String value2) {
            addCriterion("mac between", value1, value2, "mac");
            return (Criteria) this;
        }

        public Criteria andMacNotBetween(String value1, String value2) {
            addCriterion("mac not between", value1, value2, "mac");
            return (Criteria) this;
        }

        public Criteria andManagetypeIsNull() {
            addCriterion("manageType is null");
            return (Criteria) this;
        }

        public Criteria andManagetypeIsNotNull() {
            addCriterion("manageType is not null");
            return (Criteria) this;
        }

        public Criteria andManagetypeEqualTo(Integer value) {
            addCriterion("manageType =", value, "managetype");
            return (Criteria) this;
        }

        public Criteria andManagetypeNotEqualTo(Integer value) {
            addCriterion("manageType <>", value, "managetype");
            return (Criteria) this;
        }

        public Criteria andManagetypeGreaterThan(Integer value) {
            addCriterion("manageType >", value, "managetype");
            return (Criteria) this;
        }

        public Criteria andManagetypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("manageType >=", value, "managetype");
            return (Criteria) this;
        }

        public Criteria andManagetypeLessThan(Integer value) {
            addCriterion("manageType <", value, "managetype");
            return (Criteria) this;
        }

        public Criteria andManagetypeLessThanOrEqualTo(Integer value) {
            addCriterion("manageType <=", value, "managetype");
            return (Criteria) this;
        }

        public Criteria andManagetypeIn(List<Integer> values) {
            addCriterion("manageType in", values, "managetype");
            return (Criteria) this;
        }

        public Criteria andManagetypeNotIn(List<Integer> values) {
            addCriterion("manageType not in", values, "managetype");
            return (Criteria) this;
        }

        public Criteria andManagetypeBetween(Integer value1, Integer value2) {
            addCriterion("manageType between", value1, value2, "managetype");
            return (Criteria) this;
        }

        public Criteria andManagetypeNotBetween(Integer value1, Integer value2) {
            addCriterion("manageType not between", value1, value2, "managetype");
            return (Criteria) this;
        }

        public Criteria andManagestatusIsNull() {
            addCriterion("manageStatus is null");
            return (Criteria) this;
        }

        public Criteria andManagestatusIsNotNull() {
            addCriterion("manageStatus is not null");
            return (Criteria) this;
        }

        public Criteria andManagestatusEqualTo(Integer value) {
            addCriterion("manageStatus =", value, "managestatus");
            return (Criteria) this;
        }

        public Criteria andManagestatusNotEqualTo(Integer value) {
            addCriterion("manageStatus <>", value, "managestatus");
            return (Criteria) this;
        }

        public Criteria andManagestatusGreaterThan(Integer value) {
            addCriterion("manageStatus >", value, "managestatus");
            return (Criteria) this;
        }

        public Criteria andManagestatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("manageStatus >=", value, "managestatus");
            return (Criteria) this;
        }

        public Criteria andManagestatusLessThan(Integer value) {
            addCriterion("manageStatus <", value, "managestatus");
            return (Criteria) this;
        }

        public Criteria andManagestatusLessThanOrEqualTo(Integer value) {
            addCriterion("manageStatus <=", value, "managestatus");
            return (Criteria) this;
        }

        public Criteria andManagestatusIn(List<Integer> values) {
            addCriterion("manageStatus in", values, "managestatus");
            return (Criteria) this;
        }

        public Criteria andManagestatusNotIn(List<Integer> values) {
            addCriterion("manageStatus not in", values, "managestatus");
            return (Criteria) this;
        }

        public Criteria andManagestatusBetween(Integer value1, Integer value2) {
            addCriterion("manageStatus between", value1, value2, "managestatus");
            return (Criteria) this;
        }

        public Criteria andManagestatusNotBetween(Integer value1, Integer value2) {
            addCriterion("manageStatus not between", value1, value2, "managestatus");
            return (Criteria) this;
        }

        public Criteria andIscriticalIsNull() {
            addCriterion("isCritical is null");
            return (Criteria) this;
        }

        public Criteria andIscriticalIsNotNull() {
            addCriterion("isCritical is not null");
            return (Criteria) this;
        }

        public Criteria andIscriticalEqualTo(Boolean value) {
            addCriterion("isCritical =", value, "iscritical");
            return (Criteria) this;
        }

        public Criteria andIscriticalNotEqualTo(Boolean value) {
            addCriterion("isCritical <>", value, "iscritical");
            return (Criteria) this;
        }

        public Criteria andIscriticalGreaterThan(Boolean value) {
            addCriterion("isCritical >", value, "iscritical");
            return (Criteria) this;
        }

        public Criteria andIscriticalGreaterThanOrEqualTo(Boolean value) {
            addCriterion("isCritical >=", value, "iscritical");
            return (Criteria) this;
        }

        public Criteria andIscriticalLessThan(Boolean value) {
            addCriterion("isCritical <", value, "iscritical");
            return (Criteria) this;
        }

        public Criteria andIscriticalLessThanOrEqualTo(Boolean value) {
            addCriterion("isCritical <=", value, "iscritical");
            return (Criteria) this;
        }

        public Criteria andIscriticalIn(List<Boolean> values) {
            addCriterion("isCritical in", values, "iscritical");
            return (Criteria) this;
        }

        public Criteria andIscriticalNotIn(List<Boolean> values) {
            addCriterion("isCritical not in", values, "iscritical");
            return (Criteria) this;
        }

        public Criteria andIscriticalBetween(Boolean value1, Boolean value2) {
            addCriterion("isCritical between", value1, value2, "iscritical");
            return (Criteria) this;
        }

        public Criteria andIscriticalNotBetween(Boolean value1, Boolean value2) {
            addCriterion("isCritical not between", value1, value2, "iscritical");
            return (Criteria) this;
        }

        public Criteria andDistrictIsNull() {
            addCriterion("district is null");
            return (Criteria) this;
        }

        public Criteria andDistrictIsNotNull() {
            addCriterion("district is not null");
            return (Criteria) this;
        }

        public Criteria andDistrictEqualTo(String value) {
            addCriterion("district =", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictNotEqualTo(String value) {
            addCriterion("district <>", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictGreaterThan(String value) {
            addCriterion("district >", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictGreaterThanOrEqualTo(String value) {
            addCriterion("district >=", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictLessThan(String value) {
            addCriterion("district <", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictLessThanOrEqualTo(String value) {
            addCriterion("district <=", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictLike(String value) {
            addCriterion("district like", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictNotLike(String value) {
            addCriterion("district not like", value, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictIn(List<String> values) {
            addCriterion("district in", values, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictNotIn(List<String> values) {
            addCriterion("district not in", values, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictBetween(String value1, String value2) {
            addCriterion("district between", value1, value2, "district");
            return (Criteria) this;
        }

        public Criteria andDistrictNotBetween(String value1, String value2) {
            addCriterion("district not between", value1, value2, "district");
            return (Criteria) this;
        }

        public Criteria andManagerIsNull() {
            addCriterion("manager is null");
            return (Criteria) this;
        }

        public Criteria andManagerIsNotNull() {
            addCriterion("manager is not null");
            return (Criteria) this;
        }

        public Criteria andManagerEqualTo(String value) {
            addCriterion("manager =", value, "manager");
            return (Criteria) this;
        }

        public Criteria andManagerNotEqualTo(String value) {
            addCriterion("manager <>", value, "manager");
            return (Criteria) this;
        }

        public Criteria andManagerGreaterThan(String value) {
            addCriterion("manager >", value, "manager");
            return (Criteria) this;
        }

        public Criteria andManagerGreaterThanOrEqualTo(String value) {
            addCriterion("manager >=", value, "manager");
            return (Criteria) this;
        }

        public Criteria andManagerLessThan(String value) {
            addCriterion("manager <", value, "manager");
            return (Criteria) this;
        }

        public Criteria andManagerLessThanOrEqualTo(String value) {
            addCriterion("manager <=", value, "manager");
            return (Criteria) this;
        }

        public Criteria andManagerLike(String value) {
            addCriterion("manager like", value, "manager");
            return (Criteria) this;
        }

        public Criteria andManagerNotLike(String value) {
            addCriterion("manager not like", value, "manager");
            return (Criteria) this;
        }

        public Criteria andManagerIn(List<String> values) {
            addCriterion("manager in", values, "manager");
            return (Criteria) this;
        }

        public Criteria andManagerNotIn(List<String> values) {
            addCriterion("manager not in", values, "manager");
            return (Criteria) this;
        }

        public Criteria andManagerBetween(String value1, String value2) {
            addCriterion("manager between", value1, value2, "manager");
            return (Criteria) this;
        }

        public Criteria andManagerNotBetween(String value1, String value2) {
            addCriterion("manager not between", value1, value2, "manager");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("description is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("description is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("description =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("description <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("description >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("description >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("description <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("description <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("description like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("description not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("description in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("description not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("description between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("description not between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andLocatedserverIsNull() {
            addCriterion("locatedServer is null");
            return (Criteria) this;
        }

        public Criteria andLocatedserverIsNotNull() {
            addCriterion("locatedServer is not null");
            return (Criteria) this;
        }

        public Criteria andLocatedserverEqualTo(String value) {
            addCriterion("locatedServer =", value, "locatedserver");
            return (Criteria) this;
        }

        public Criteria andLocatedserverNotEqualTo(String value) {
            addCriterion("locatedServer <>", value, "locatedserver");
            return (Criteria) this;
        }

        public Criteria andLocatedserverGreaterThan(String value) {
            addCriterion("locatedServer >", value, "locatedserver");
            return (Criteria) this;
        }

        public Criteria andLocatedserverGreaterThanOrEqualTo(String value) {
            addCriterion("locatedServer >=", value, "locatedserver");
            return (Criteria) this;
        }

        public Criteria andLocatedserverLessThan(String value) {
            addCriterion("locatedServer <", value, "locatedserver");
            return (Criteria) this;
        }

        public Criteria andLocatedserverLessThanOrEqualTo(String value) {
            addCriterion("locatedServer <=", value, "locatedserver");
            return (Criteria) this;
        }

        public Criteria andLocatedserverLike(String value) {
            addCriterion("locatedServer like", value, "locatedserver");
            return (Criteria) this;
        }

        public Criteria andLocatedserverNotLike(String value) {
            addCriterion("locatedServer not like", value, "locatedserver");
            return (Criteria) this;
        }

        public Criteria andLocatedserverIn(List<String> values) {
            addCriterion("locatedServer in", values, "locatedserver");
            return (Criteria) this;
        }

        public Criteria andLocatedserverNotIn(List<String> values) {
            addCriterion("locatedServer not in", values, "locatedserver");
            return (Criteria) this;
        }

        public Criteria andLocatedserverBetween(String value1, String value2) {
            addCriterion("locatedServer between", value1, value2, "locatedserver");
            return (Criteria) this;
        }

        public Criteria andLocatedserverNotBetween(String value1, String value2) {
            addCriterion("locatedServer not between", value1, value2, "locatedserver");
            return (Criteria) this;
        }

        public Criteria andHealthIsNull() {
            addCriterion("health is null");
            return (Criteria) this;
        }

        public Criteria andHealthIsNotNull() {
            addCriterion("health is not null");
            return (Criteria) this;
        }

        public Criteria andHealthEqualTo(Integer value) {
            addCriterion("health =", value, "health");
            return (Criteria) this;
        }

        public Criteria andHealthNotEqualTo(Integer value) {
            addCriterion("health <>", value, "health");
            return (Criteria) this;
        }

        public Criteria andHealthGreaterThan(Integer value) {
            addCriterion("health >", value, "health");
            return (Criteria) this;
        }

        public Criteria andHealthGreaterThanOrEqualTo(Integer value) {
            addCriterion("health >=", value, "health");
            return (Criteria) this;
        }

        public Criteria andHealthLessThan(Integer value) {
            addCriterion("health <", value, "health");
            return (Criteria) this;
        }

        public Criteria andHealthLessThanOrEqualTo(Integer value) {
            addCriterion("health <=", value, "health");
            return (Criteria) this;
        }

        public Criteria andHealthIn(List<Integer> values) {
            addCriterion("health in", values, "health");
            return (Criteria) this;
        }

        public Criteria andHealthNotIn(List<Integer> values) {
            addCriterion("health not in", values, "health");
            return (Criteria) this;
        }

        public Criteria andHealthBetween(Integer value1, Integer value2) {
            addCriterion("health between", value1, value2, "health");
            return (Criteria) this;
        }

        public Criteria andHealthNotBetween(Integer value1, Integer value2) {
            addCriterion("health not between", value1, value2, "health");
            return (Criteria) this;
        }

        public Criteria andAvailabilityIsNull() {
            addCriterion("availability is null");
            return (Criteria) this;
        }

        public Criteria andAvailabilityIsNotNull() {
            addCriterion("availability is not null");
            return (Criteria) this;
        }

        public Criteria andAvailabilityEqualTo(Integer value) {
            addCriterion("availability =", value, "availability");
            return (Criteria) this;
        }

        public Criteria andAvailabilityNotEqualTo(Integer value) {
            addCriterion("availability <>", value, "availability");
            return (Criteria) this;
        }

        public Criteria andAvailabilityGreaterThan(Integer value) {
            addCriterion("availability >", value, "availability");
            return (Criteria) this;
        }

        public Criteria andAvailabilityGreaterThanOrEqualTo(Integer value) {
            addCriterion("availability >=", value, "availability");
            return (Criteria) this;
        }

        public Criteria andAvailabilityLessThan(Integer value) {
            addCriterion("availability <", value, "availability");
            return (Criteria) this;
        }

        public Criteria andAvailabilityLessThanOrEqualTo(Integer value) {
            addCriterion("availability <=", value, "availability");
            return (Criteria) this;
        }

        public Criteria andAvailabilityIn(List<Integer> values) {
            addCriterion("availability in", values, "availability");
            return (Criteria) this;
        }

        public Criteria andAvailabilityNotIn(List<Integer> values) {
            addCriterion("availability not in", values, "availability");
            return (Criteria) this;
        }

        public Criteria andAvailabilityBetween(Integer value1, Integer value2) {
            addCriterion("availability between", value1, value2, "availability");
            return (Criteria) this;
        }

        public Criteria andAvailabilityNotBetween(Integer value1, Integer value2) {
            addCriterion("availability not between", value1, value2, "availability");
            return (Criteria) this;
        }

        public Criteria andManufacturerIsNull() {
            addCriterion("manufacturer is null");
            return (Criteria) this;
        }

        public Criteria andManufacturerIsNotNull() {
            addCriterion("manufacturer is not null");
            return (Criteria) this;
        }

        public Criteria andManufacturerEqualTo(String value) {
            addCriterion("manufacturer =", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerNotEqualTo(String value) {
            addCriterion("manufacturer <>", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerGreaterThan(String value) {
            addCriterion("manufacturer >", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerGreaterThanOrEqualTo(String value) {
            addCriterion("manufacturer >=", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerLessThan(String value) {
            addCriterion("manufacturer <", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerLessThanOrEqualTo(String value) {
            addCriterion("manufacturer <=", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerLike(String value) {
            addCriterion("manufacturer like", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerNotLike(String value) {
            addCriterion("manufacturer not like", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerIn(List<String> values) {
            addCriterion("manufacturer in", values, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerNotIn(List<String> values) {
            addCriterion("manufacturer not in", values, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerBetween(String value1, String value2) {
            addCriterion("manufacturer between", value1, value2, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerNotBetween(String value1, String value2) {
            addCriterion("manufacturer not between", value1, value2, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andChildresourceindexIsNull() {
            addCriterion("childResourceIndex is null");
            return (Criteria) this;
        }

        public Criteria andChildresourceindexIsNotNull() {
            addCriterion("childResourceIndex is not null");
            return (Criteria) this;
        }

        public Criteria andChildresourceindexEqualTo(Integer value) {
            addCriterion("childResourceIndex =", value, "childresourceindex");
            return (Criteria) this;
        }

        public Criteria andChildresourceindexNotEqualTo(Integer value) {
            addCriterion("childResourceIndex <>", value, "childresourceindex");
            return (Criteria) this;
        }

        public Criteria andChildresourceindexGreaterThan(Integer value) {
            addCriterion("childResourceIndex >", value, "childresourceindex");
            return (Criteria) this;
        }

        public Criteria andChildresourceindexGreaterThanOrEqualTo(Integer value) {
            addCriterion("childResourceIndex >=", value, "childresourceindex");
            return (Criteria) this;
        }

        public Criteria andChildresourceindexLessThan(Integer value) {
            addCriterion("childResourceIndex <", value, "childresourceindex");
            return (Criteria) this;
        }

        public Criteria andChildresourceindexLessThanOrEqualTo(Integer value) {
            addCriterion("childResourceIndex <=", value, "childresourceindex");
            return (Criteria) this;
        }

        public Criteria andChildresourceindexIn(List<Integer> values) {
            addCriterion("childResourceIndex in", values, "childresourceindex");
            return (Criteria) this;
        }

        public Criteria andChildresourceindexNotIn(List<Integer> values) {
            addCriterion("childResourceIndex not in", values, "childresourceindex");
            return (Criteria) this;
        }

        public Criteria andChildresourceindexBetween(Integer value1, Integer value2) {
            addCriterion("childResourceIndex between", value1, value2, "childresourceindex");
            return (Criteria) this;
        }

        public Criteria andChildresourceindexNotBetween(Integer value1, Integer value2) {
            addCriterion("childResourceIndex not between", value1, value2, "childresourceindex");
            return (Criteria) this;
        }

        public Criteria andCapacityIsNull() {
            addCriterion("capacity is null");
            return (Criteria) this;
        }

        public Criteria andCapacityIsNotNull() {
            addCriterion("capacity is not null");
            return (Criteria) this;
        }

        public Criteria andCapacityEqualTo(String value) {
            addCriterion("capacity =", value, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityNotEqualTo(String value) {
            addCriterion("capacity <>", value, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityGreaterThan(String value) {
            addCriterion("capacity >", value, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityGreaterThanOrEqualTo(String value) {
            addCriterion("capacity >=", value, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityLessThan(String value) {
            addCriterion("capacity <", value, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityLessThanOrEqualTo(String value) {
            addCriterion("capacity <=", value, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityLike(String value) {
            addCriterion("capacity like", value, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityNotLike(String value) {
            addCriterion("capacity not like", value, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityIn(List<String> values) {
            addCriterion("capacity in", values, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityNotIn(List<String> values) {
            addCriterion("capacity not in", values, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityBetween(String value1, String value2) {
            addCriterion("capacity between", value1, value2, "capacity");
            return (Criteria) this;
        }

        public Criteria andCapacityNotBetween(String value1, String value2) {
            addCriterion("capacity not between", value1, value2, "capacity");
            return (Criteria) this;
        }

        public Criteria andParentresourceidIsNull() {
            addCriterion("parentResourceId is null");
            return (Criteria) this;
        }

        public Criteria andParentresourceidIsNotNull() {
            addCriterion("parentResourceId is not null");
            return (Criteria) this;
        }

        public Criteria andParentresourceidEqualTo(Integer value) {
            addCriterion("parentResourceId =", value, "parentresourceid");
            return (Criteria) this;
        }

        public Criteria andParentresourceidNotEqualTo(Integer value) {
            addCriterion("parentResourceId <>", value, "parentresourceid");
            return (Criteria) this;
        }

        public Criteria andParentresourceidGreaterThan(Integer value) {
            addCriterion("parentResourceId >", value, "parentresourceid");
            return (Criteria) this;
        }

        public Criteria andParentresourceidGreaterThanOrEqualTo(Integer value) {
            addCriterion("parentResourceId >=", value, "parentresourceid");
            return (Criteria) this;
        }

        public Criteria andParentresourceidLessThan(Integer value) {
            addCriterion("parentResourceId <", value, "parentresourceid");
            return (Criteria) this;
        }

        public Criteria andParentresourceidLessThanOrEqualTo(Integer value) {
            addCriterion("parentResourceId <=", value, "parentresourceid");
            return (Criteria) this;
        }

        public Criteria andParentresourceidIn(List<Integer> values) {
            addCriterion("parentResourceId in", values, "parentresourceid");
            return (Criteria) this;
        }

        public Criteria andParentresourceidNotIn(List<Integer> values) {
            addCriterion("parentResourceId not in", values, "parentresourceid");
            return (Criteria) this;
        }

        public Criteria andParentresourceidBetween(Integer value1, Integer value2) {
            addCriterion("parentResourceId between", value1, value2, "parentresourceid");
            return (Criteria) this;
        }

        public Criteria andParentresourceidNotBetween(Integer value1, Integer value2) {
            addCriterion("parentResourceId not between", value1, value2, "parentresourceid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}
